import React from 'react';

import GlobalHeader from '@/components/GlobalHeader';
import GlobalFooter from '@/components/GlobalFooter';

import styles from './index.less';

function BasicLayout(props) {
  return (
    <div className={styles.page}>
      <GlobalHeader />
      { props.children }
      <GlobalFooter />
    </div>
  );
}

export default BasicLayout;